
package com.epam.android.training.app.db;

import java.util.List;

/**
 * Test's question representation
 * 
 * @author Natalie
 */
public class TestQuestion {

  private final String title;

  private final long questionId;

  private final long testId;

  private List<String> answers;

  private final int rightAnswer;

  public TestQuestion(long id, long test_id, String title, int rightAnswer) {
    questionId = id;
    this.testId = test_id;
    this.title = title;
    this.rightAnswer = rightAnswer;
  }

  public String getTitle() {
    return title;
  }

  public List<String> getAnswers() {
    return answers;
  }

  public int getRightAnswer() {
    return rightAnswer;
  }

  public long getQuestionId() {
    return questionId;
  }

  public long getTestId() {
    return testId;
  }

  public void setAnswers(List<String> answers) {
    this.answers = answers;
  }
}
